import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.Dispatch;
import com.jacob.com.Variant;
import com.sun.jna.Library;

public class Testread implements Library {
    public static void main(String[] args) {
//ActiveXComponent com = new ActiveXComponent("组件的ProgID或者CLSID") ;
        ActiveXComponent com = new ActiveXComponent("SICARDRWAX.SiCardRWAxCtrl.1") ;
        Dispatch disp = com.getObject();
        Variant result= Dispatch.call(disp,"GetReaderInfo");
        System.out.println("返回的结果为"+result);
    }

}
